//
//  RequestData.h
//  Douban初期
//
//  Created by lanou3g on 15/6/30.
//  Copyright (c) 2015年 蓝欧科技. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol RequestFinish <NSObject>

-(void)requestSuccess:(NSData *)data;

-(void)requestError:(NSError *)error;

@end


@interface RequestData : NSObject


@property (nonatomic,assign)id<RequestFinish>delegate;

-(void)requestWithUrl:(NSString *)url;




@end
